-- GENERATED SPELL FOR [Winterhoof Longrunner] --


function spell0_24195(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(6660,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_24195', 610, 1)
end

function Sorts_24195(pUnit, Event)
local choix_sorts_24195 = math.random(0, 0)
if choix_sorts_24195 == 0 then
pUnit:RegisterEvent('spell0_24195', 1, 1)
end
end

function mob24195_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_24195', math.random(1500, 3000), 1)
end

function mob24195_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24195_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24195_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(24195, 1, 'mob24195_Action')
RegisterUnitEvent(24195, 2, 'mob24195_Leave')
RegisterUnitEvent(24195, 3, 'mob24195_Kill')
RegisterUnitEvent(24195, 4, 'mob24195_Die')
